package config

type Config struct {
	Prefix string
	Port   int
	Mode   string
	Mysql  struct {
		DataSource string
	}
	Redis struct {
		Host     string
		Password string
		Db       int
	}
	Jwt struct {
		SigningKey  string
		ExpiresTime int
	}
	Upload struct {
		AccessPath      string
		UploadPath      string
		Disks           string
		UploadType      string
		CheckFileStatus bool
		AliyunOss       struct {
			Endpoint        string
			AccessKeyId     string
			AccessKeySecret string
			BucketName      string
			Callback        string
		}
		QiniuOss struct {
			Domain          string
			Zone            string
			Bucket          string
			AccessKey       string
			SecretKey       string
			UseHttps        bool
			UseCdnDomains   bool
			ClientUploadUrl string
		}
		TencentCos struct {
			Bucket    string
			Region    string
			SecretId  string
			SecretKey string
			Schema    string
		}
	}
}
